package cn.tedu.ivos1.user.controller;

import cn.tedu.ivos1.base.response.JsonResult;
import cn.tedu.ivos1.user.pojo.dto.UserLoginParam;
import cn.tedu.ivos1.user.service.UserService;
import lombok.extern.java.Log;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@Slf4j
@RestController
@RequestMapping("/v1/user")
public class UserController {
    @Autowired
    private UserService userService;
    @PostMapping("login")
    public JsonResult login(UserLoginParam userLoginParam){
        log.info("开始处理【用户登录】的请求");
        return JsonResult.ok("登录成功");
    }

}
